﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopWlbTmsOrder : BaseObject
    {
        //begin
        public TopWlbTmsOrder(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _OrderCode;
        [Size(SizeAttribute.Unlimited)]
        public string OrderCode
        {
            get
            {
                return _OrderCode;
            }
            set
            {
                SetPropertyValue("OrderCode", ref _OrderCode, value);
            }
        }
        private string _UserId;
        [Size(SizeAttribute.Unlimited)]
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _Code;
        [Size(SizeAttribute.Unlimited)]
        public string Code
        {
            get
            {
                return _Code;
            }
            set
            {
                SetPropertyValue("Code", ref _Code, value);
            }
        }
        private string _CompanyCode;
        [Size(SizeAttribute.Unlimited)]
        public string CompanyCode
        {
            get
            {
                return _CompanyCode;
            }
            set
            {
                SetPropertyValue("CompanyCode", ref _CompanyCode, value);
            }
        }
        //end
    }
}
